package cn.tedu.train.management.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 添加列车的参数类
 *
 * @author java@tedu.cn
 * @version 0.0.1
 */
@Data
public class TrainAddNewDTO implements Serializable {

    /**
     * 列车名称
     */
    @ApiModelProperty(value = "列车名称", required = true)
    private String name;


    /**
     * 车牌号
     */
    @ApiModelProperty(value = "车牌号", required = true)
    private String number;

    /**
     * 启用
     */
    @ApiModelProperty(value = "是否启用", required = true)
    private Integer enable;


    /**
     * 线路编号
     */
    @ApiModelProperty(value = "线路编号", required = true)
    private long lineId;

    /**
     * 起点站
     */
    @ApiModelProperty(value = "起点站", required = true)
    private String startingStation;

    /**
     * 终点站
     */
    @ApiModelProperty(value = "终点站", required = true)
    private String terminal;

    /**
     * 准载人数
     */
    @ApiModelProperty(value = "准载人数", required = true)
    private Integer passenger;

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型", required = true)
    private Integer type;

}